package com.pxst.agent.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "代理信息返回类")
public class AgentResp {

    @ApiModelProperty(value = "代理id")
    private Long id;

    @ApiModelProperty(value = "代理编号，报表用")
    private String displayId;

    @ApiModelProperty(value = "1.总代，2.代理")
    private Integer identity;

    @ApiModelProperty(value = "所属总代id")
    private Long belongId;

    @ApiModelProperty(value = "全称")
    private String fullName;

    @ApiModelProperty(value = "上级代理编号")
    private String topAgentId;

    @ApiModelProperty(value = "上级代理全称")
    private String topAgentName;

    @ApiModelProperty(value = "登录账号")
    private String username;
}
